﻿using Game;
using static Mekiasm.MekCraftingRecipe;
namespace Mekiasm
{
    public class qiancengbing : ItemFlat
    {
        public static int Index;

        public qiancengbing() : base("千层饼", MekiasmInit.GetFlatTexture(MekiasmInit.R10, "moresmore"))
        {
            
        }

        public override bool IsFood()
        {
            return true;
        }

        public override float GetNutritionalValue()
        {
            return 0.6f;
        }

        public override bool Eat(ComponentVitalStats v, int value)
        {
            v.Entity.FindComponent<ExtraGui.ComponentExtraGui>().AddBuff(3, 30);
            return true;
        }
    }
}
